#!/usr/bin/env python

TEMPLATE_FILE       = 'template.html'

import md5
import os
import pprint
import sys
import time
import uuid

from google.appengine.ext import db
from google.appengine.api import users
from google.appengine.ext import webapp
from google.appengine.ext.webapp import template
from google.appengine.ext.webapp.util import run_wsgi_app

def bbody(req, user):
    params      = { }
    control     = { 'bheader' : True, 'bbody' : True, 'bfooter' : True }
    hheader     = { }
    bbody       = None
    return_url  = None
    void        = { }
    path        = os.path.join(os.path.dirname(__file__), TEMPLATE_FILE)
    bbody       = template.render(path, params)      

    return (control, hheader, bbody, return_url, void)

